<template>
	<!-- 评价介绍 -->
	<view class="container">
		<!-- 标题 -->
		<headTitle title="评价介绍" :bottomline="true"></headTitle>
		<view class="content bgfff">
			<rich-text :nodes="data"></rich-text>
		</view>
	</view>
</template>

<script>
import Api from '@/common/api'
import headTitle from '@/components/head-title.vue'
export default{
	data() {
		return {
			data: '', // 获取数据
		}
	},
	onLoad() {
		this.getData()
	},
	methods: {
		// 获取数据
		async getData() {
			let res = await Api.apiCall('get', Api.goods.getCommentIntroduce, {}, true)
			if(res) {
				this.data = res
			}
		}
	},
	components: {
		headTitle
	}
}
</script>

<style lang="scss">
page {
	background-color: #F5F5F5;
}
.content {
	margin-top: 16rpx;
	padding: 30rpx;
}
</style>
